// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'babel-polyfill'
import store from './store'
import fastclick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import toastRegistry from './pages/toast/index'
// import VueAwesomeSwiper from 'vue-awesome-swiper'
// core version + navigation, pagination modules:
// import Swiper, SwiperSlide from 'swiper'
// Import Swiper Vue.js components
// import Swiper and modules styles
// import 'swiper/css'
// import 'swiper/css/navigation'
// import 'swiper/css/pagination'

import './assets/styles/reset.css'
import './assets/styles/border.css'
import './assets/styles/iconfont.css'

Vue.config.productionTip = false
fastclick.attach(document.body)

Vue.use(VueAwesomeSwiper)
Vue.use(toastRegistry) // 这里也可以直接执行 toastRegistry()

/* eslint-disable */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})